<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>商家管理控制台</title>
<link rel="shortcut icon" href="${pageContext.request.contextPath}/images/favicon.ico" type="image/x-icon" />
        <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/identify.css" />
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/layout.css" />
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/account.css" />
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/style.css" />
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/control_index.css" />
		<script type="text/javascript"
	src="${pageContext.request.contextPath}/laydate/laydate.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/personal.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.7.2.min.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/haidao.offcial.general.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/select.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/haidao.validate.js"></script>
</head>
<body>
    <div class="view-topbar">
			<div class="topbar-console">
				<div class="tobar-head fl">
					<a href="#" class="topbar-logo fl">
					<span><img src="${pageContext.request.contextPath}/images/logo.png" width="20" height="20"/></span>
					</a>
					<a href="${pageContext.request.contextPath}/pages/index.jsp" class="topbar-home-link topbar-btn text-center fl"><span>商户管理控制台</span></a>
				</div>
			</div>
			<div class="topbar-info">
				<ul class="fr">
					<li class="fl topbar-info-item">
					<div class="dropdown">
						<a href="#" class="topbar-btn">
						<span class="fl text-normal">商户名称</span>
						<span class="icon-arrow-down"></span>
						</a>
						<ul class="dropdown-menu">
							<li><a href="#">注销</a></li>
						</ul>
					</div>
					</li>
				</ul>
			</div>
		</div>
		<div class="view-body">
			<div class="view-sidebar">
				<div class="sidebar-content">
					<div class="sidebar-nav">
						<div class="sidebar-title">
							<a href="#">
								<span class="icon"><b class="fl icon-arrow-down"></b></span>
								<span class="text-normal">权限申请</span>
							</a>
						</div>
						<ul class="sidebar-trans">
						<li>
							<a href="${pageContext.request.contextPath}/sale/infoShow">
								<b class="sidebar-icon"><img src="${pageContext.request.contextPath}/images/icon_message.png" width="16" height="16" /></b>
								<span class="text-normal">申请入驻</span>
							</a>
						</li>
						</ul>
					</div>
					<div class="sidebar-nav">
						<div class="sidebar-title">
							<a href="#">
								<span class="icon"><b class="fl icon-arrow-down"></b></span>
								<span class="text-normal">商品中心</span>
							</a>
						</div>
						<ul class="sidebar-trans">
							<li>
								<a href="${pageContext.request.contextPath}/goods/goods">
									<b class="sidebar-icon"><img src="${pageContext.request.contextPath}/images/icon_author.png" width="16" height="16" /></b>
									<span class="text-normal">商品管理</span>
								</a>
							</li>
						<ul class="sidebar-trans">
							<li>
								<a href="${pageContext.request.contextPath}/goods/toAdd">
									<b class="sidebar-icon"><img src="${pageContext.request.contextPath}/images/icon_author.png" width="16" height="16" /></b>
									<span class="text-normal">商品添加</span>
								</a>
							</li>
							
						</ul>
					</div>
					<div class="sidebar-nav">
						<div class="sidebar-title">
							<a href="#">
								<span class="icon"><b class="fl icon-arrow-down"></b></span>
								<span class="text-normal">个人中心</span>
							</a>
						</div>
						<ul class="sidebar-trans">
						<li>
							<a href="${pageContext.request.contextPath}/saleInfo/getSaleInfo">
								<b class="sidebar-icon"><img src="${pageContext.request.contextPath}/images/icon_order.png" width="16" height="16" /></b>
								<span class="text-normal">个人信息</span>
							</a>
						</li>
						
						</ul>
					</div>
					<div class="sidebar-nav">
						<div class="sidebar-title">
							<a href="#">
								<span class="icon"><b class="fl icon-arrow-down"></b></span>
								<span class="text-normal">子账号中心</span>
							</a>
						</div>
						<ul class="sidebar-trans">
						<li>
							<a href="${pageContext.request.contextPath}/babyAccount/newQuery">
								<b class="sidebar-icon"><img src="${pageContext.request.contextPath}/images/icon_cost.png" width="16" height="16" /></b>
								<span class="text-normal">子账号查询</span>
							</a>
						</li>
						<li>
							<a href="${pageContext.request.contextPath}/babyAccount/toAdd">
								<b class="sidebar-icon"><img src="${pageContext.request.contextPath}/images/icon_cost.png" width="16" height="16" /></b>
								<span class="text-normal">子账号添加</span>
							</a>
						</li>
						</ul>
					</div>
					<div class="sidebar-nav">
						<div class="sidebar-title">
							<a href="#">
								<span class="icon"><b class="fl icon-arrow-down"></b></span>
								<span class="text-normal">订单管理</span>
							</a>
						</div>
						<ul class="sidebar-trans">
						<li>
							<a href="${pageContext.request.contextPath}/saleOrder/saleOrderList">
								<b class="sidebar-icon"><img src="${pageContext.request.contextPath}/images/icon_gold.png" width="16" height="16" /></b>
								<span class="text-normal">订单查询</span>
							</a>
						</li>
						</ul>
					</div>
				</div>
			</div>
		  
		
		
	
		<div class="view-product">
				<div class="company_identify">
					<div class="manage-head">
					<h6 class="padding-left manage-head-con">商品信息</h6>
					</div>
					<form  action="#" method="post" id="in" autocomplete="off"
					name="form1"  enctype="multipart/form-data" >
						<div class="basic-info-detail clearfix">
							<div class="unit-style padding-big-lr clearfix">
								<div class="real-name-con height-main margin-top-25 clearfix">
									<p class="content-left-zoon">
										手机名称:
									</p>
									<div class="content-right-zoon">
										<p id="goodsName">${goods.goodsName }</p>
									</div>
								</div>
								
								<div class="real-name-con height-main margin-top-25 clearfix">
									<p class="content-left-zoon">
										手机版本:
									</p>
									<div class="content-right-zoon">
									  <p id="version">${goods.version }</p>
										
									</div>
								</div>
								
								<div class="real-name-con height-main margin-top-25 clearfix">
									<p class="content-left-zoon">
										屏幕大小:
									</p>
									<div class="content-right-zoon">
									    <p id="screen">${goods.screenSize }</p>
										
									</div>
								</div>
								
								<div class="real-name-con height-main margin-top-25 clearfix">
									<p class="content-left-zoon">
										ROM:
									</p>
									<div class="content-right-zoon">
									     <p id="rom">${goods.rom }</p>
										
									</div>
								</div>
								
								<div class="real-name-con height-main margin-top-25 clearfix">
									<p class="content-left-zoon">
										RAM:
									</p>
									<div class="content-right-zoon">
										  <p id="ram">${goods.ram }</p>
									</div>
								</div>
								
									<div class="real-name-con height-main margin-top-25 clearfix">
									<p class="content-left-zoon">
										图片:
									</p>
									<div class="content-right-zoon">
						                 
										 <p id="icon"><img src="${pageContext.request.contextPath}/images/${goods.icon }" width="50px" height="50px"></p>
									</div>
								</div>
								
								<div class="real-name-con height-main margin-top-25 clearfix">
									<p class="content-left-zoon">
										上市年份:
									</p>
									<div class="content-right-zoon">
										<p id="timeMarket">${goods.timeMarket }</p>
									</div>
									 
								</div> 
								
								<div class="real-name-con height-main margin-top-25 clearfix">
									<p class="content-left-zoon">
										是否可售：
									</p>
									<div class="content-right-zoon">
										<p id="valid">
										<c:if test="${valid eq 'T' }">
										    可售商品
										</c:if>
										<c:if test="${valid eq 'F' }">
										  商品已下架
										</c:if>
										</p>
									</div>
									 
								</div>  
					      </div>
	
					</form>
				</div>
			</div>
		</div>

	<!-- 下拉功能 --> 
      <script type="text/javascript">
			$(".sidebar-title").live('click', function() {
				if ($(this).parent(".sidebar-nav").hasClass("sidebar-nav-fold")) {
					$(this).next().slideDown(200);
					$(this).parent(".sidebar-nav").removeClass("sidebar-nav-fold");
				} else {
					$(this).next().slideUp(200);
					$(this).parent(".sidebar-nav").addClass("sidebar-nav-fold");
				}
			});	
			
		</script>	
</body>
</html>